package com.hsh;

import javax.xml.bind.SchemaOutputResolver;

/**
 * @author: shaohai.huang
 * @date: 2019-10-21
 */
public class T2 {

    public static void main(String[] args) {
        System.out.println(Integer.toBinaryString(-1024));
        System.out.println(Integer.toBinaryString(52));
        System.out.println(Integer.toBinaryString(524288).toString().length());
        System.out.println(Integer.toBinaryString(1048576).toString().length());
        System.out.println(Integer.toBinaryString(16777216).toString().length());
        System.out.println(1 << 19);
        System.out.println(1 << 24);
        int i = 1;
        System.out.println((--i) + (++i));

    }

    static enum SizeClass {
        Tiny,
        Small,
        Normal;

        private SizeClass() {
        }
    }
}
